package com.gbb.common.log.android;

import android.util.Log;

import com.gbb.common.log.Logx;


/**
 * @author gaobingbing on 2017/12/20 0020.
 */
public class AndroidLog implements Logx {

    public static String TAG = "AndroidLog";

    @Override
    public void v(Object message) {
        Log.v(TAG,message.toString());
    }

    @Override
    public void v(String tag,Object message) {
        Log.v(tag,message.toString());
    }

    @Override
    public void v(String message,Object... args) {
        Log.v(TAG,String.format(message,args));
    }

    @Override
    public void v(String tag,String message,Object... args) {
        Log.v(tag,String.format(message,args));
    }

    @Override
    public void d(Object message) {
        Log.d(TAG,message.toString());
    }

    @Override
    public void d(String tag,Object message) {
        Log.d(tag,message.toString());
    }

    @Override
    public void d(String message,Object... args) {
        Log.d(TAG,String.format(message,args));
    }

    @Override
    public void d(String tag,String message,Object... args) {
        Log.d(tag,String.format(message,args));
    }

    @Override
    public void i(Object message) {
        Log.i(TAG,message.toString());
    }

    @Override
    public void i(String tag,Object message) {
        Log.i(tag,message.toString());
    }

    @Override
    public void i(String message,Object... args) {
        Log.i(TAG,String.format(message,args));
    }

    @Override
    public void i(String tag,String message,Object... args) {
        Log.i(tag,String.format(message,args));
    }

    @Override
    public void w(Object message) {
        Log.w(TAG,message.toString());
    }

    @Override
    public void w(String tag,Object message) {
        Log.w(tag,message.toString());
    }

    @Override
    public void w(String message,Object... args) {

    }

    @Override
    public void w(String tag,String message,Object... args) {
        Log.w(tag,String.format(message,args));
    }

    @Override
    public void e(Object message) {
        Log.e(TAG,message.toString());
    }

    @Override
    public void e(String tag,Object message) {
        Log.e(tag,message.toString());
    }

    @Override
    public void e(String message,Object... args) {
        Log.e(TAG,String.format(message,args));
    }

    @Override
    public void e(String tag,String message,Object... args) {
        Log.e(tag,String.format(message,args));
    }

    @Override
    public void wtf(Object message) {
        Log.wtf(TAG,message.toString());
    }

    @Override
    public void wtf(String tag,Object message) {
        Log.wtf(tag,message.toString());
    }

    @Override
    public void wtf(String message,Object... args) {
        Log.wtf(TAG,String.format(message,args));
    }

    @Override
    public void wtf(String tag,String message,Object... args) {
        Log.wtf(tag,String.format(message,args));
    }

    @Override
    public void json(String json) {
        Log.i(TAG,json);
    }

    @Override
    public void json(String tag,String json) {
        Log.i(tag,json);
    }

    @Override
    public void xml(String xml) {
        Log.i(TAG,xml);
    }

    @Override
    public void xml(String tag,String xml) {
        Log.i(tag,xml);
    }

}
